import { RewardData } from "../db/RewardData";
import { BaseRequest, BaseResponse } from "./base";


/**
 * 结束关卡
 */
export interface ReqStageEnd extends BaseRequest {
    /**关卡id */
    stageId:string,
    /**分数 */
    score:number,
}

export interface ResStageEnd extends BaseResponse {
    /**是否通关 */
    win:boolean,
    /**当前最高分 */
    score:number,
    /**每日挑战无尽关卡最高分数 */
    dayStageEndlessScore:number,
    /**奖励内容 */
    rewards?:RewardData[],
}